package client;

import java.util.Observable;
import java.util.Observer;

import common.Sendable;

//This class is an intermediary between
//the swing classes and the network thread.

public class MessageSender extends Observable {
	public MessageSender(){};
	public MessageSender(Observer o) {
		this.addObserver(o);
	}
	public void send (Sendable s) {
		this.setChanged();
		this.notifyObservers(s);
	}
}
